setAutoplayEnabled

public final Unit setAutoplayEnabled(Boolean autoplayEnabled)

Allows automatic starting of video and audio playbacks.

Has the same effect as adding --autoplay-policy=no-user-gesture-required switch.